package com.bojiu.lawsearch.lawsearch.mapper;

import com.bojiu.lawsearch.lawsearch.model.Task;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: afdiao
 * @Date：2020/4/5 15:23
 * @Description:
 */
@Repository
@Mapper
public interface TaskMapper extends ObjMapper<Task> {
    int getMaxId();

    List<Task> getTaskByLabels(@Param("labels") String labels);

    List<Task> getTaskList(@Param("task") Task task);
}
